package com.yg.yws.testServlet;

import com.yg.yws.annotation.YWebPath;
import com.yg.yws.annotation.YWebServlet;
import com.yg.yws.beans.RetType;

/**
 * @Author Yang Gang
 * @Description:
 * @Date Created in 18:55 2023/2/6
 */

@YWebServlet
public class ShowServlet {

    @YWebPath("/show")
    public RetType showServlet(String msg,Integer[] nums){
        if (nums == null){
            System.out.println("nums = null");
        }
        return RetType.retJson("{'name':'this is YWebServlet','msg':'"+msg+"'}");
    }
}
